package org.weather.data.pojo;

public class Weather {
    private Byte id;

    private String cid;//城市ID

    private String location;//城市

    private String cloud;//云量

    private String condCode;//实况天气状况代码

    private String condTxt;//实况天气状况代码

    private String fl;//体感温度

    private String hum;//相对湿度

    private String pcpn;//降水量

    private String pres;//大气压强

    private String tmp;//温度

    private String vis;//能见度

    private String windDeg;//风向

    private String windDir;//风向

    private String windSc;//风力

    private String windSpd;//风速

    private String loc;//当地时间

    public Weather(Byte id, String cid, String location, String cloud, String condCode, String condTxt, String fl, String hum, String pcpn, String pres, String tmp, String vis, String windDeg, String windDir, String windSc, String windSpd, String loc) {
        this.id = id;
        this.cid = cid;
        this.location = location;
        this.cloud = cloud;
        this.condCode = condCode;
        this.condTxt = condTxt;
        this.fl = fl;
        this.hum = hum;
        this.pcpn = pcpn;
        this.pres = pres;
        this.tmp = tmp;
        this.vis = vis;
        this.windDeg = windDeg;
        this.windDir = windDir;
        this.windSc = windSc;
        this.windSpd = windSpd;
        this.loc = loc;
    }

    public Weather() {
        super();
    }

    public Byte getId() {
        return id;
    }

    public void setId(Byte id) {
        this.id = id;
    }

    public String getCid() {
        return cid;
    }

    public void setCid(String cid) {
        this.cid = cid == null ? null : cid.trim();
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public String getCloud() {
        return cloud;
    }

    public void setCloud(String cloud) {
        this.cloud = cloud == null ? null : cloud.trim();
    }

    public String getCondCode() {
        return condCode;
    }

    public void setCondCode(String condCode) {
        this.condCode = condCode == null ? null : condCode.trim();
    }

    public String getCondTxt() {
        return condTxt;
    }

    public void setCondTxt(String condTxt) {
        this.condTxt = condTxt == null ? null : condTxt.trim();
    }

    public String getFl() {
        return fl;
    }

    public void setFl(String fl) {
        this.fl = fl == null ? null : fl.trim();
    }

    public String getHum() {
        return hum;
    }

    public void setHum(String hum) {
        this.hum = hum == null ? null : hum.trim();
    }

    public String getPcpn() {
        return pcpn;
    }

    public void setPcpn(String pcpn) {
        this.pcpn = pcpn == null ? null : pcpn.trim();
    }

    public String getPres() {
        return pres;
    }

    public void setPres(String pres) {
        this.pres = pres == null ? null : pres.trim();
    }

    public String getTmp() {
        return tmp;
    }

    public void setTmp(String tmp) {
        this.tmp = tmp == null ? null : tmp.trim();
    }

    public String getVis() {
        return vis;
    }

    public void setVis(String vis) {
        this.vis = vis == null ? null : vis.trim();
    }

    public String getWindDeg() {
        return windDeg;
    }

    public void setWindDeg(String windDeg) {
        this.windDeg = windDeg == null ? null : windDeg.trim();
    }

    public String getWindDir() {
        return windDir;
    }

    public void setWindDir(String windDir) {
        this.windDir = windDir == null ? null : windDir.trim();
    }

    public String getWindSc() {
        return windSc;
    }

    public void setWindSc(String windSc) {
        this.windSc = windSc == null ? null : windSc.trim();
    }

    public String getWindSpd() {
        return windSpd;
    }

    public void setWindSpd(String windSpd) {
        this.windSpd = windSpd == null ? null : windSpd.trim();
    }

    public String getLoc() {
        return loc;
    }

    public void setLoc(String loc) {
        this.loc = loc == null ? null : loc.trim();
    }
}